<template>
  <demo :code-str="codeStr" :code-desc="codeDesc">
    <template #componentName>Icon图标颜色</template>
    <template #componentDesc>Icon 的 color 属性用来设置图标的颜色。</template>
    <template #component>
      <h-icon name="cart-o" color="#1989fa" />
      <h-icon name="fire-o" color="#ee0a24" />
    </template>
  </demo>
</template>

<script>
export default {
  name: 'MobileV2IconColorDemo',
  data() {
    return {
      codeDesc: '',
      codeStr: `
<h-icon name="cart-o" color="#1989fa" />
<h-icon name="fire-o" color="#ee0a24" />
        `,
    };
  },
};
</script>

<style>
</style>